package tmall.domain.service;

import org.springframework.stereotype.Service;
import tmall.common.mapper.BaseMapper;
import tmall.common.service.BaseService;
import tmall.domain.entity.Goods;
import tmall.domain.mapper.GoodsMapper;

import javax.annotation.Resource;

/**
 * 商品详情业务类
 * @author zhangservlet
 * @date 2020/11/30
 */
@Service
public class GoodsService extends BaseService<Goods> {

    @Resource
    private GoodsMapper goodsMapper;

    @Override
    protected BaseMapper<Goods> getMapper() {
        return this.goodsMapper;
    }

}
